package com.ganbing518.commons.test.annotation.service.impl;

import com.ganbing518.commons.annotation.BizLogger;
import com.ganbing518.commons.test.annotation.service.AspectService;
import org.springframework.stereotype.Service;

/**
 * Description:
 *
 * @author gan bing
 * @version V1.0
 * @date 2018-06-25 14:12
 */
@Service
public class AspcetServiceImpl implements AspectService {


    @Override
    @BizLogger
    public String sayHello() {
        return "hello";
    }

    @Override
    @BizLogger
    public String sayHello(String hello) {
        return hello;
    }

    @Override
    @BizLogger
    public String sayHello(String hello, String hi) {
        return hello + hi;
    }

    @Override
    @BizLogger
    public void sayHelloAndHi(String hello, String hi) {
    }
}
